package com.neusoft.service.impl;

import com.neusoft.mapper.DiseaseMapper;
import com.neusoft.service.DiseaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class DiseaseServiceImpl implements DiseaseService {
    @Autowired
    DiseaseMapper diseaseMapper;
    @Override
    public List<Map<String, Object>> searchDisease(String diseaseCode, String diseaseName, String diseaseICD) {
        return diseaseMapper.selectDiseaseByCondition(diseaseCode,diseaseName,diseaseICD);

    }

}
